package cn.itcast.itcaststore.service;

import cn.itcast.itcaststore.domain.Products;

import java.util.List;

public interface ProductService {

    List getListProduct(String category, int currentPage, int orderByDate);

    Products getProducts(String id);

    int getTotalDate(String category);

    List getListByname(String name, int currentPage, int orderByDate);

    int getTotalDateByName(String name);

    Products getProductsById(String id);
}
